<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><tiles:insertAttribute name="title" /></title>
        <tiles:insertAttribute name="resource" />
    </head>
    <body>
        <div id="wrapper">
            <div class="header">
                <h1><a href="#">logo</a></h1>
                <div class="logon">
                    Welcome,
                    <strong>${empty LAST_USERNAME_KEY ? '' : LAST_USERNAME_KEY} </strong>
                    <img src="<%=request.getContextPath()%>/images/btn/btn_discover_version.gif" width="150" height="19" alt="text" />
                    |
                    <span>
                        <a href="<%=request.getContextPath()%>/logout">Log out</a>
                        |
                        <a href="#">Help</a>
                    </span>
                </div>
            </div>

            <!-- Content -->
            <tiles:insertAttribute name="content" />
        </div>

    </body>
</html>
